import Guide from '~/components/layout/guide'
import Snippet from '~/components/snippet'
import Caption from '~/components/text/caption'
import Link from '~/components/text/link'
import { Image } from '~/components/media'
import DeploySection from '~/components/guides/deploy-section'

export const meta = {
  title: 'Deploy Polymer with ZEIT Now',
  description: 'Create a Polymer app and deploy it live with ZEIT Now.',
  name: 'Polymer',
  type: 'app',
  published: '2019-11-11T12:00:00.860Z',
  authors: ['msweeneydev'],
  url: '/guides/deploying-polymer-with-zeit-now',
  example: 'polymer',
  demo: 'https://polymer.now-examples.now.sh',
  image:
    'https://og-image.now.sh/**Deploy%20Polymer%20Apps**%20%3Cbr%2F%3E%20with%20ZEIT%20Now.png?theme=light&md=1&fontSize=100px&images=https%3A%2F%2Fassets.zeit.co%2Fimage%2Fupload%2Ffront%2Fassets%2Fdesign%2Fzeit-black-triangle.svg&images=https%3A%2F%2Fcdn.svgporn.com%2Flogos%2Fpolymer.svg',
  editUrl: 'pages/guides/deploying-polymer-with-zeit-now.mdx',
  lastEdited: '2020-02-04T12:49:00.000Z'
}

[Polymer](https://www.polymer-project.org/) is an efficient, expressive, and extensible HTML templating library for building JavaScript applications.

## Step 1: Set Up Your Polymer Project

Set up a Polymer app with [`npx`](https://www.npmjs.com/package/npx) and move into the project directory, choosing the **blank** option when presented:

<Snippet dark text="mkdir my-polymer-app && cd my-polymer-app && npx polymer-cli init polymer-3-starter-kit" />
<Caption>Creating a project directory and initializing a Polymer app with <Link href="https://www.npmjs.com/package/npx">npx</Link>.</Caption>

## Step 2: Deploying Your Polymer App with ZEIT Now

<DeploySection meta={meta} />

export default ({ children }) => <Guide meta={meta}>{children}</Guide>

export const config = {
  amp: 'hybrid'
}
